using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SPSAndong.Model;
using SPSAndong.Service;
using Leeder.Business;

namespace SPSAndong.Business
{
    /// <summary>
    /// 
    /// </summary>
   public class LedShowBLL : BaseBLL<LedShowModel, LedShowService>
   {
        public LedShowBLL()
        {
            Service = new LedShowService();
        }

        public void UpdateOverTime(int overTime)
        {
            var model = Service.Query(s => s.ID == 1).ActivedObj.FirstOrDefault();
            model.OverTime = overTime;
            Service.Update(model);
        }
   }
}
